﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrganizationStructure.aspx.cs"
    Inherits="OC.OrganizationStructure" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/CSS/style.css" rel="stylesheet" rev="stylesheet" />
    <link href="/CSS/global.css" rel="stylesheet" rev="stylesheet" />
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <style type="text/css">
        .style1
        {
            width: 215px;
        }
        .style2
        {
            width: 137px;
        }
        .style3
        {
            width: 36px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="place">
    <div class="placeleft"><i></i>您当前的位置：<a href="index.html">首页</a> >> <a href="index.html">工作台</a> >> <strong><b>组织结构</b></strong> </div>   <a href="#" class="shuaxin">刷新</a> </div>
     
    <table border="0" cellpadding="0" cellspacing="0" class="listTable1">
        <tr>
            <td width="210px" valign="top">
                            <asp:TreeView ID="tvStructureView" runat="server" NodeIndent="2"
                                OnTreeNodeExpanded="tvStructureView_TreeNodeExpanded" class="listTable_1" 
                                OnSelectedNodeChanged="tvStructureView_SelectedNodeChanged">
                                <HoverNodeStyle Font-Underline="False" />
                                <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
                                    NodeSpacing="0px" VerticalPadding="0px" />
                                <ParentNodeStyle Font-Bold="True" ForeColor="#5555DD" />
                                <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
                            </asp:TreeView>
            </td>
            <td valign="top">
                <span><b>组织信息</b></span>
                <div class="listTable_1">
                    <table border="0" cellpadding="0" cellspacing="0" class="listTable1">
                        <tr>
                            <td>
                                组织编号
                            </td>
                            <td class="style1">
                                <asp:TextBox ID="txtNum" runat="server" class="inputBorder" Width="200px"></asp:TextBox>
                            </td>
                            <td>
                                上级组织
                            </td>
                            <td>
                                <asp:TextBox ID="txtUpOrganization" runat="server" class="inputBorder" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                组织名称
                            </td>
                            <td class="style1">
                                <asp:TextBox ID="txtOrganizationCHName" runat="server" class="inputBorder" Width="200px"></asp:TextBox>
                            </td>
                            <td>
                                英文名称
                            </td>
                            <td>
                                <asp:TextBox ID="txtOrganizationENName" runat="server" class="inputBorder" Width="200px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                组织类型
                            </td>
                            <td class="style1">
                                <asp:DropDownList ID="ddlOrganizationType" Style="overflow: hidden;" runat="server"
                                    Width="200px" class="inputboder1">
                                </asp:DropDownList>
                            </td>
                            <td>
                                组织等级
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlOrganizationLevel" runat="server" Width="200px" class="inputboder1">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                排序
                            </td>
                            <td class="style1">
                                <asp:TextBox ID="txtSortNum" runat="server" Width="200px" class="inputBorder"></asp:TextBox>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                备注
                            </td>
                            <td colspan="3">
                                <asp:TextBox ID="txtRemarks" runat="server" class="inputBorder" Width="600px"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </div>
                <b>人员信息</b>
                <div class="listTable_1">
                    <table border="0" cellpadding="0" cellspacing="0" class="listTable1">
                        <tr>
                            <td class="style3">
                                姓名:
                            </td>
                            <td class="style2">
                                <asp:TextBox ID="txtUserName" runat="server" class="inputBorder" Width="120px"></asp:TextBox>
                            </td>
                            <td>
                                <asp:CheckBox ID="cbIdDisplayChilds" runat="server" Text="包含下级组员" />
                            </td>
                            <td>
                                <asp:Button ID="btnQueryUser" runat="server" Text="查询" class="btnBg" 
                                    onclick="btnQueryUser_Click" />
                            </td>
                        </tr>
                    </table>
                <table border="0" cellpadding="0" cellspacing="0" class="listTable3">
                    <tr class="listTablebg">
                        <th>
                        </th>
                        <th>
                            姓名
                        </th>
                        <th>
                            英文名
                        </th>
                        <th>
                            部门
                        </th>
                        <th>
                            岗位
                        </th>
                        <th>
                            AD账号
                        </th>
                        <th>
                            Email
                        </th>
                        <th>
                            手机
                        </th>
                    </tr>
                    <asp:Repeater ID="rptUserList" runat="server">
                        <ItemTemplate>
                            <tr class='<%# ((Container.ItemIndex+1)%2).ToString()=="0"?"grayBg":"" %>'>
                                <td width="20px">
                                    <img src="/images/icon3.gif" />
                                </td>
                                <td>
                                    <%# Eval("CN_NAME")%><!--姓名-->
                                </td>
                                <td>
                                    <%# Eval("EN_NAME")%><!--英文名-->
                                </td>
                                <td>
                                    <%# Eval("SECTION_ID")%><!--部门-->
                                </td>
                                <td>
                                    <%# Eval("JOB_TITLE")%><!--岗位-->
                                </td>
                                <td>
                                    <%# Eval("AD_ACCOUNT")%><!--AD账号-->
                                </td>
                                <td>
                                    <%# Eval("EMAIL")%><!--Email-->
                                </td>
                                <td>
                                    <%# Eval("MOBILE_NO")%><!--手机-->
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
                </div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
